package com.wnu.springboot.db.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 20424
 * @Date 2020/8/14 21:41
 * @Version 1.0
 */
@Component
@ConfigurationProperties(value = "user")
public class User {
    public List<String> username;
    public List<Integer> age;

    public List<String> getUsername() {
        return username;
    }

    public void setUsername(List<String> username) {
        this.username = username;
    }

    public List<Integer> getAge() {
        return age;
    }

    public void setAge(List<Integer> age) {
        this.age = age;
    }
}
